import request from '../utils/request.js'
const path="/index.php"
               
//访问注册借口
export function register(data){
  return request(path+'/index/register',data,"POST");
}

//访问登录接口
export function login(data){
  return request(path+'/index/log',data,"POST");
}